//
//  WKMineHeaderView.m
//  ourToken
//
//  Created by wakeup on 2018/6/30.
//  Copyright © 2018年 ourtoken. All rights reserved.
//

#import "WKMineHeaderView.h"

@implementation WKMineHeaderView

- (void)awakeFromNib {
    [super awakeFromNib];
    self.walletView.layer.cornerRadius = 10;
    self.walletView.layer.masksToBounds = YES;
    
    self.addressView.layer.cornerRadius = 10;
    self.addressView.layer.masksToBounds = YES;
}

- (IBAction)clickWalletBtn:(id)sender {
    if ([self.delegate respondsToSelector:@selector(clickWalletBtn)]) {
        [self.delegate clickWalletBtn];
    }
}

- (IBAction)clickAddressBtn:(id)sender {
    if ([self.delegate respondsToSelector:@selector(clickAddressBtn)]) {
        [self.delegate clickAddressBtn];
    }
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
